give up the ghost
verb
°To cease clinging to life; to die.
°To quit; to cease functioning.
synonyms: yield up the ghost, yield the ghost